package com.order.service.impl;

import com.order.dao.AdminDao;
import com.order.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {
    @Autowired
    private AdminDao adminDao;
    @Override
    public Boolean login(String user, String pass) {
        return adminDao.login(user, pass);
    }
}
